package com.stylefeng.guns.modular.drugs.service.impl;

import com.stylefeng.guns.common.persistence.model.Drugs;
import com.stylefeng.guns.modular.drugs.dao.DrugsDao;
import com.stylefeng.guns.modular.system.dao.EmployeeDao;
import org.springframework.stereotype.Service;
import com.stylefeng.guns.modular.drugs.service.IDrugsService;

import javax.annotation.Resource;
import java.util.List;



/**
 * drugsDao
 *
 * @author fengshuonan
 * @Date 2019-07-11 09:26:14
 */
@Service
public class DrugsServiceImpl implements IDrugsService {
    @Resource
    private DrugsDao mapper;

    @Override
    public List<Drugs> search(String name) {
        return mapper.search(name);
    }
}
